﻿@using VirtualPress.Infrastructure.Entities.Entity;
@using VirtualPress.Tool.Framework;
@using VirtualPress.Infrastructure.Entities.Enum;
@using VirtualPress.Tool.Configration;
@{
    Layout = "/Views/Shared/_Main.cshtml";
    ItemListBox<Meeting> data = ViewBag.Meetings;
}
@section head
{
    <link href="/Content/css/books.css" rel="stylesheet" type="text/css" />
}
<div class="container">
    <div class="row">
        <div class="span12">
            <!-- navagation -->
            <ul class="breadcrumb">
                <li><a href="/Home">首页</a> <span class="divider">/</span></li>
                <li class="active">学术会议</li>
            </ul>
            @if (data != null && data.Data != null)
            {
                foreach (var item in data.Data)
                {                 
                <div class="row-fluid book">
                    <div class="book-img span2 corner">
                        <a href="http://@SiteResource.Domain.Replace("www",item.ShortName)" target="_blank">
                            <img src="@item.Logo" alt="@item.Name" /></a>
                    </div>
                    <div class="book-text span10">
                        <div class="book-title">
                            <a href="http://@SiteResource.Domain.Replace("www",item.ShortName)" target="_blank">@item.Name</a></div>
                        <div>
                            主办单位：@item.ZBDW</div>
                        <div>
                            行业：@item.IndType.Mapping()</div>
                        <div>
                            征稿范围：@item.ZGFW.Replace(';','、')</div>
                        <div class="text-des">
                            <span>@Html.Raw(item.Abstract.NoHTMLLabel().PieceOfString(0,200,"......"))</span>
                        </div>
                    </div>
                </div>
                <hr />
                }
            }
        </div>
        @Html.Raw(data.PageItemSegment)
    </div>
</div>
@section tail{
    
    <script type="text/javascript">
        $(function () {
            $('#limeeting').addClass('active');
        });
    </script>
}